<div id="journalEntry">
<h1 class="clearLeft">Welcome <?php echo $profile['FirstName']." ".$profile['LastName']?></h1>
</div>

<h1 style="text-align: center">Your Recent activity</h1>
<div id="shift" style="float: left; width: 300px; margin : 5px 0px 5px 70px ">
    <h2>Shift Connection </h2>
    <ol>
        <br/>
        Click Your Shift Application Id
        <br/>
        <br/>
        
        <?php foreach ($shift as $s) {?>
        <li ><a id="<?php echo $s->appid ?>"><?php echo $s->appid ?></a> </li>
        <?php }?>
     
    </ol>
</div>
<div style="float: left; width: 300px; margin : 5px 50px 5px 10px">
    <h2>Recent Complaints</h2>
    <ol>
        <br/>
        Click Your Complain Application Id
        <br/>
        <br/>
        <?php foreach($com as $c) { ?>
        <li><?php echo anchor('appid',$c->appid); //$c->appid ?></li>
        <?php }?>
    </ol>
</div>

<div id="dialog-form" title="Upload Image">
	
    
	<?php
        $data['id']='myForm';
        $data['method']='post';
        $data['style']='margin-top:50px';
        echo form_open_multipart('user_profile/upload_image',$data);
      //  echo '<fieldset>';
        echo form_upload("userfile");
        echo '<img id="loader" style="margin-top:50px" src="'.base_url().'images/loader.gif">';
      //  echo form_submit('sub','Upload');
     //   echo '</fieldset>';
        echo form_close();
        ?>
  
</div>


